﻿namespace ClassLibrary.DataLayer.DataObjects
{
    using ClassLibrary.BusinessLayer.BusinessObjects;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.Common;

    public interface IAgentsDAO
    {
        bool DeleteAgents(Agents clsAgents);
        IList<Agents> GetAgents(Agents clsAgents);
        IList<Agents> GetAgents(string agent);
        IList<Agents> GetsAgents();
        DataTable GetsAgents(string SPName, DbParameter[] param);
        bool InsertAgents(Agents clsAgents);
        int InsertAgentsReturnIdentity(Agents clsAgents);
        string InsertAgentsReturnOutput(Agents clsAgents);
        IList<Agents> ListAgents(Agents clsAgents);
        IList<Agents> ListAgents(string agent);
        bool UpdateAgents(Agents clsAgents);
        int UpdateAgents(string SPName, DbParameter[] param);
    }
}

